#include "metrics/utility/Hash.hpp"

namespace metrics
{
    std::size_t hash_labels(const std::map<std::string, std::string> &labels)
    {
        std::size_t seed = 0;
        Hash h;
        for (auto &label : labels)
        {
            h.hash_val(seed, label.first, label.second);
        }

        return seed;
    }
    
} // namespace metrics
